export default {
	state:{
		footer_nav:[
			
			{
				name:'首页',
				name_code:'meet',
				icon:'../../static/index/shouye_n.png',
				select_icon:'../../static/index/shouye_h.png',
				size:'small'
			},
			{
				name:'地球圈',
				name_code:'earth',
				icon:'../../static/index/jingjie_n.png',
				select_icon:'../../static/index/earth.png',
				size:'small'
			},
			{
				name:'好奇',
				name_code:'world',
				icon:'../../static/index/yujian_n.png',
				select_icon:'../../static/index/yujian_h.png',
				size:'small'
			},
			{
				name:'聊奇',
				name_code:'friend',
				icon:'../../static/index/jingyou_n.png',
				select_icon:'../../static/index/jingyou_h1.png',
				size:'small'
			},
			{
				name:'我的',
				name_code:'my',
				icon:'../../static/index/wode_n.png',
				select_icon:'../../static/index/wode_h.png',
				size:'small'
			},
			
		],
		now_page_index:0,
	},
	mutations:{
		change_nav_list(state,data){
			state.footer_nav = data;
		},
		change_page(state,index){
			state.now_page_index = index;
		}
	},
	actions:{
		menu_5(ctx){
			let menu_list = [
				{
					name:'好奇',
					name_code:'world',
					icon:'../../static/index/yujian_n.png',
					select_icon:'../../static/index/yujian_h.png',
					size:'small'
				},
				{
					name:'地球圈',
					name_code:'earth',
					icon:'../../static/index/jingjie_n.png',
					select_icon:'../../static/index/earth.png',
					size:'small'
				},
				{
					name:'首页',
					name_code:'meet',
					icon:'../../static/index/shouye_n.png',
					select_icon:'../../static/index/shouye_h.png',
					size:'small'
				},
				{
					name:'聊奇',
					name_code:'friend',
					icon:'../../static/index/jingyou_n.png',
					select_icon:'../../static/index/jingyou_h.png',
					size:'small'
				},
				{
					name:'我的',
					name_code:'my',
					icon:'../../static/index/wode_n.png',
					select_icon:'../../static/index/wode_h.png',
					size:'small'
				},
			]
			
			ctx.commit("change_nav_list",menu_list)
		}
	}
}